// 页面路径：store/index.js
import {
	createStore
} from 'vuex'
const store = createStore({
	state: { //存放状态
		// tabbar列表
		list: []
	},
	mutations: {
		// 获取tabbar并复制
		setlist(state, val) {
			state.list = val
		}
	}
})

export default store